package com.econ.powercloud.ems.pojo.requestVO;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author : zjf
 * @Description : 遥控遥调下发请求VO
 * @Date : 2023/5/30 14:21
 * @Modified by : zjf
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class YkYtIssueRequestVO {

    @NotBlank(message = "EMS设备code不能为空")
    @ApiModelProperty(value = "EMS设备code")
    private String deviceCode;

    @NotNull(message = "点号类型不能为空")
    @ApiModelProperty(value = "点号类型")
    private Integer ditType;

    @NotBlank(message = "点号不能为空")
    @ApiModelProperty(value = "点号")
    private String dit;

    @ApiModelProperty(value = "设定值")
    private Double val;
}
